package com.winshare.saleAssistant.domain.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@ApiModel
public class RegionDeleteDTO {

    @NotNull(message = "主键不可以为空")
    @Range(min = 1,message = "主键为大于0的正整数")
    @ApiModelProperty(value = "主键不可以为空")
    private Integer id;

    public RegionDeleteDTO() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
